Chrome Extension

To get url param details from get request in Django

server = request.GET.get('server_info','production')
    count = request.GET.get('limit_count')
    user_id = request.GET.get('user_id')
    customer_id = request.GET.get('alie_customer_id',None)
    studio_id = request.GET.get('studio_id',None)
    print(count)
    print(user_id)
    print(customer_id)
    print(studio_id)
Best JSON Validator, JSON Tree Viewer, JSON Beautifier at same place. Check how cool is the tool

This code gets the given the url parameters from the API and executes it as per the given commands

Was this helpful?
0 Comments