Skip to content
This repository has been archived by the owner. It is now read-only.

feat(api): add a skeleton request handler for POST /sms #1635

Closed
wants to merge 1 commit into from

Conversation

@philbooth
Copy link
Contributor

@philbooth philbooth commented Jan 31, 2017

Related to #1628.

@shane-tomlinson, not sure if there's any value in this for you, we can close it if not. But I figured it may make client-side work easier if a bare-bones, empty route for /sms landed ahead of the the finished implementation.

The only change from what we discussed last week is there's no locale in the payload. I realised we use the Accept-Language header for this everywhere else, right?

Anyway, let me know if you think this is worth merging on its own or not.

@seanmonstar
Copy link
Member

@seanmonstar seanmonstar commented Jan 31, 2017

When I looked into this last year, I tried hooking into the Basket API we already have. /subscribe_sms sends a message from a message ID. I don't know if it was already considered, just pointing it out.

@philbooth
Copy link
Contributor Author

@philbooth philbooth commented Jan 31, 2017

...hooking into the Basket API we already have.

Oh, interesting. I had not considered that (and don't know a whole ton about basket tbh). Evidently you mean this:

https://github.com/mozilla/fxa-basket-proxy/blob/master/lib/routes/sms.js

I'll dig into it a bit more and see what I think.

@shane-tomlinson shane-tomlinson added this to the FxA-53: Email Confirmation Flow - SMS (Phase 2) milestone Jan 31, 2017
@philbooth philbooth closed this Feb 1, 2017
@philbooth philbooth deleted the phil/post-sms-skeleton branch Feb 1, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants