As part API Automation using karate framework, I am trying to send 'form-data' as body in karate feature file.
Please provide your solution with following example attached.
I tried to call the get method with body as form-data using karate framework feature file.
Feature: Get API Background:
def data = """
{ "name":"tom", "email":"tom110@gmail.com", "gender":"male", "status":"active" }
"""
Scenario: get Auth details Given url 'https://demo.domain.com/ea80952e/oauth2/token' And request data When method GET Then status 200