-
Notifications
You must be signed in to change notification settings - Fork 352
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
Add API to create a file upload #154
Comments
I can take a wack at this. |
So what are we using for testing. Still trying to figure that out? |
@snewcomer can follow progress on code-corps/stripity_stripe_testing#1 but @DavidAntaramian is trying to have some time free up on this one. For now, just test manually and push. |
We won't be using VCR or anything like that. The interface has changed some for 2.0, too. |
One last thing is to get the header right with |
@snewcomer awesome! What's the reason for the header? |
@joshsmith looks like the request type needs a Content-Type of https://stripe.com/docs/api#create_file_upload I think this line (https://github.com/code-corps/stripity_stripe/blob/2.0/lib/stripe.ex#L229) needs to also have the option of merging in a different Content-Type |
@snewcomer you're right, in which case it might make sense to have a different kind of request here for the |
@snewcomer this especially makes sense because the base URL differs, too: |
Closed by #160. |
We need to write an interface to file uploads. We can just do
create
for now:API docs: https://stripe.com/docs/api/curl#create_file_upload
The text was updated successfully, but these errors were encountered: