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

validate endpoint can be a GET request #233

Closed
pbashyal-nmdp opened this issue May 18, 2023 · 0 comments · Fixed by #243
Closed

validate endpoint can be a GET request #233

pbashyal-nmdp opened this issue May 18, 2023 · 0 comments · Fixed by #243
Assignees
Labels
enhancement New feature or request

Comments

@pbashyal-nmdp
Copy link
Contributor

Currently the validate endpoint is a POST request

curl -X 'POST' \
  'https://pyard-service.org/validate' \
  -H 'accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "gl_string": "B*57:79N"
}'

It only has the gl_string payload, so can be a GET request

curl https://pyard-service.org/validate
@pbashyal-nmdp pbashyal-nmdp added the enhancement New feature or request label May 18, 2023
@pbashyal-nmdp pbashyal-nmdp added this to the Version 1.0.1 - Bug fix milestone May 18, 2023
@pbashyal-nmdp pbashyal-nmdp self-assigned this May 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant