Closed Bishwas-py closed 4 months ago
@djapify @djapy_method("POST") @csrf_exempt def long_tail_keyword(_r, data: TagsInput, app: constr(min_length=1)) -> dict: return { 'keywords': get_serp_data(data.keyword) }
app: constr(min_length=1) places the string to data/payload type, it should be query.
app: constr(min_length=1)
It's fixed. But if you wanna continue use constr as payload use this:
payload
app: constr(min_length=1)
places the string to data/payload type, it should be query.