Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update certificate_exception_view to DRF #35362

Closed
Tracked by #35057
awais786 opened this issue Aug 23, 2024 · 0 comments
Closed
Tracked by #35057

update certificate_exception_view to DRF #35362

awais786 opened this issue Aug 23, 2024 · 0 comments
Assignees

Comments

@awais786
Copy link
Contributor

awais786 commented Aug 23, 2024

Test via postman

  1. Try this URL in postman as post.

  2. form-data

    • `notes` = 'testing` this is optional param
      
    •   you can pass username or email as key e.g 
          user_name = admin 
          or
          user_email = admin@example.com
      

expected result

{
    "id": 14,
    "user_email": "admin@example.com",
    "user_name": "admin",
    "user_id": 4,
    "certificate_generated": null,
    "created": "October 05, 2024"
}

Delete method testing
You can repeat above test with delete action as well and it will remove the data and return 204 status code.


Test via dashboard

  1. Go to this URL
  2. Go to Individual Exceptions section
Screenshot 2024-10-05 at 5 52 37 PM

expected result
admin has been successfully added to the exception list. Click Generate Exception Certificate below to send the certificate.

Also this api finally adding data inside this table
http://local.edly.io:8000/admin/certificates/certificateallowlist/

@awais786 awais786 changed the title Certificate_exception_view update certificate_exception_view to DRF Aug 23, 2024
@awais786 awais786 self-assigned this Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant