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

Use snake case in json reply #4

Open
noandrea opened this issue Apr 9, 2019 · 0 comments
Open

Use snake case in json reply #4

noandrea opened this issue Apr 9, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@noandrea
Copy link
Owner

noandrea commented Apr 9, 2019

currently the json keys are in pascal case, make them in snake case:

HTTP/1.1 200 OK
Access-Control-Allow-Credentials: true
Access-Control-Allow-Headers: *
Access-Control-Allow-Methods: *
Access-Control-Allow-Origin: *
Content-Length: 409
Content-Type: application/json
Date: Tue, 09 Apr 2019 08:52:26 GMT
Vary: Accept-Encoding
Connection: close

{
  "ID": "ypxhlx",
  "URL": "xxxxx",
  "Counter": 0,
  "BountAt": "2019-03-29T11:15:02.500478396Z",
  "MaxRequests": 1,
  "ExhaustedURL": "",
  "TTL": 0,
  "ExpireOn": "0001-01-01T00:00:00Z",
  "ExpiredURL": ""
}
@noandrea noandrea added the enhancement New feature or request label Apr 9, 2019
@noandrea noandrea self-assigned this Apr 9, 2019
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

No branches or pull requests

1 participant