Quantcast
Channel: Active questions tagged rest - Stack Overflow
Viewing all articles
Browse latest Browse all 3641

Is this api endpoint is correctly following standard REST guidelines [closed]

$
0
0
  1. List Bundles added to the wishlist

GET http://localhost:8000/api/bundles/?wishlist=true

  1. Add Bundle to wishlist

POST http://localhost:8000/api/bundles/0f0c6be3-665d-4d98-8153-817149bcd3bc/wishlist/

  1. Remove bundle from wishlist

DELETE http://localhost:8000/api/bundles/0f0c6be3-665d-4d98-8153-817149bcd3bc/wishlist/

In the response of the bundles API I am sending the is_in_wishlist boolean

I am confuse


Viewing all articles
Browse latest Browse all 3641

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>