Skip to content

Commit

Permalink
test again
Browse files Browse the repository at this point in the history
  • Loading branch information
bsmartradio committed Aug 16, 2024
1 parent 86d8328 commit 1956c2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion python/lsst/alert/packet/bin/syncLatestSchemaToRegistry.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,10 @@ def main():
'Content-Type': 'application/json'
}

url_mode = f"{args.schema_registry_url}/mode/{args.subject}"

# Send the PUT request
response = requests.put('http://localhost:8081/mode/alert-packet', json=data, headers=headers)
response = requests.put(url_mode, json=data, headers=headers)

# Print the response status code and text
print(f'Status Code: {response.status_code}')
Expand Down

0 comments on commit 1956c2a

Please sign in to comment.