You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importrequestsr=requests.post('http://hilite.me/api', data={'code':'echo "This is basically just a form', 'lexer':'bash', 'divstyles':'padding:.2em .6em;'})
print(r.content.decode())
I've looked at the code and in my opinion the problem lies in main.py in line no 85:
it should be
On webpage it works, because you use also value for divstyles stored in cookie, but it's not the case when using API
Best Regards,
Chris
The text was updated successfully, but these errors were encountered: