This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun queryUsingAsterisk(clientId: Long): Query { | |
val tableAlias = InvoiceTable.alias("i") | |
val asterisk = object : Expression<String>() { | |
override fun toQueryBuilder(queryBuilder: QueryBuilder) { | |
queryBuilder { +"*" } | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/autoload.php'; | |
$client = new GuzzleHttp\Client(); | |
//$client->setDefaultOption('auth', array('username', 'password', 'Basic|Digest|NTLM|Any')); | |
$client->setDefaultOption('auth', array('DjangoFR', '********', 'Basic')); | |
$res = $client->get('http://www.example.com/system/get_user_categories/format/json/user_id/**10**'); |