Sergiy, Yes it is. Thanks. Henry

On Saturday, January 17, 2015 at 10:36:06 AM UTC-6, Sergiy Khohlov wrote:
>
> Is CRFS protection enabled ?
> 15 січ. 2015 18:51, користувач "Henry Versemann" <fence...@gmail.com 
> <javascript:>> написав:
>
>> First let me say that I haven't done a lot of stuff with either Python or 
>> Django, but I think I understand most of the basics. 
>> I am trying to get an access token back from the OAuth2 Web Application 
>> Flow of the Canvas' LMS API ( 
>> https://canvas.instructure.com/doc/api/file.oauth.html ). 
>> I have successfully sent the request in step 1 of the flow, and 
>> received back and extracted out of the response all of the data needed for 
>> step 3, which came back in step 2 of the flow.
>> So now in step 3 of the flow my problem is how to send a POST of the 
>> request needed, as described in step 3 of the flow, from a Django View.
>> I've not found anything definitive saying that I absolutely can't do 
>> a POST of a request, from a Django View, and have seen some  items which 
>> seem to indicate that I can do a POST from a view, but none of them seem to 
>> have detailed code examples or explanations of how to do it if it is 
>> possible. 
>> So far I've tried several ways of sending the POST within a 
>> returned HttpResponse and have not been successful, and if I understand 
>> things correctly HttpResponse doesn't allow it. 
>> I have also looked at all of the other Django Shortcut Functions 
>> documentation, and none of them seem to offer any obvious way of POSTing a 
>> request either. 
>> Can someone please point me to a good example of how to do it if it is 
>> possible, and if it is not maybe point me to one or more examples of how I 
>> might be able to successfully go through the Canvas OAuth2 Web Application 
>> Flow using some other module or package, that I can integrate into my 
>> Django application?
>> Thanks for the help.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com <javascript:>.
>> To post to this group, send email to django...@googlegroups.com 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/298a8f9d-3694-45f8-88c4-d9049a1e68d2%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/298a8f9d-3694-45f8-88c4-d9049a1e68d2%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/93e8bb8b-ecb7-4bfa-907a-eea4517b8edc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to