Set variable value when doing a GET request

When doing a request in order to render an embeddable card which uses a variable to get the data, can that variable value be set from the CURL (GET /api/card/:cardId ) url parameter?