Open
Bug 1302820
Opened 10 years ago
Updated 9 years ago
Improve basket's subscribe endpoint for use with purely client-side forms
Categories
(Websites :: Basket, defect)
Websites
Basket
Tracking
(Not tracked)
NEW
People
(Reporter: pmac, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [q3 sprint 5])
It should behave much like the endpoint on bedrock[0]. It needs to properly handle CORS and accpet all params. It will probably be best for it to accept JSON posts instead of form-encoded. It might be best to introduce a new API endpoint specifically for this to avoid the risk of disturbing existing subscribe calls.
[0] https://www.mozilla.org/en-US/newsletter/
Updated•10 years ago
|
Whiteboard: [q3 sprint 5]
Comment 1•10 years ago
|
||
Howdy! Checking in - what's the status of this boog?
Comment 2•9 years ago
|
||
Commits pushed to master at https://github.com/mozmeao/basket
https://github.com/mozmeao/basket/commit/a6d1ff34ae965c4b2c4f3647984da140100869cf
Bug 1302820: Add a subscribe endpoint for use with frontend code
https://github.com/mozmeao/basket/commit/85ee680ff8bd8d0cdcedd585d1e4b518d8f0e474
Merge pull request #9 from pmac/add-frontend-subscribe
Bug 1302820: Add a subscribe endpoint for use with frontent code
Comment 3•9 years ago
|
||
Hey Pmac, did this go live?
If so, can you recommend how I update this "how-to" doc slide?
https://docs.google.com/presentation/d/1P9EBDy-i8ULF8cd7k0bN9a38pbI4ketTYMCbKEoEr5Y/edit#slide=id.g1e076a3623_0_201
Flags: needinfo?(pmac)
| Reporter | ||
Comment 4•9 years ago
|
||
It did, but I still have documentation and example code to produce. For now we should keep our presentations and such the same I think.
Flags: needinfo?(pmac)
Comment 5•9 years ago
|
||
Perfect. Holla at me/in the bug when you've got some documentation and example code (no rush, just whenever).
Thanks!
You need to log in
before you can comment on or make changes to this bug.
Description
•