Bad behaviour when empty or wrong text type
facundobatista opened this issue · 1 comments
facundobatista commented
It doesn't generate a linkode! Example:
import requests
url = "http://linkode.org/api/1/linkodes/"
response = requests.post(url, data={
"text_type": "",
"content": "some random content",
})
print(response.headers["location"])
facundobatista commented
Fixed now!