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 Python REST demo to accept operations as ACTION/RESOURCE/ID1/ID2 #34

Open
RobPasMue opened this issue May 13, 2022 · 0 comments
Open
Labels
good first issue Good for newcomers Python Tasks related with Python language developments REST Tasks involved with the development of REST demos

Comments

@RobPasMue
Copy link
Member

As it was done in the C++ implementation, we should also make this same implementation for the Python version.

It consists on allowing operations via URL without a body request

For example:

Instead of curl -X GET http://localhost:XXXX/add/Matrices ... -d {"id1": 5, "id2" : 27 }
Something like curl -X GET http://localhost:XXXX/add/Matrices/5/27

@RobPasMue RobPasMue added good first issue Good for newcomers REST Tasks involved with the development of REST demos Python Tasks related with Python language developments labels May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers Python Tasks related with Python language developments REST Tasks involved with the development of REST demos
Projects
None yet
Development

No branches or pull requests

1 participant